<el-dialog title="添加" v-model="addFormDialog" @open="beforeOpen">
<!-- <el-form :model="form"> -->
<el-form :model="addForm" :rules="rules" ref="addForm" :label-width="dialogLabelWidth">
  <el-row>
    <el-col :span="14">
      <el-form-item label="名称" prop="name">
        <el-input v-model="addForm.name"  auto-complete="off" placeholder="请填写单位名称"></el-input>
      </el-form-item>
    </el-col>
  </el-row>
  <el-row>
    <el-col :span="14">
      <el-form-item label="区域经理">
        <el-select v-model="addForm.user_id">
          <el-option v-for="user in dm" :label="user.realname" :value="user.user_id"></el-option>
        </el-select>
      </el-form-item>
    </el-col>
  </el-row>
  <el-row>
    <el-col :span="14">
      <el-form-item label="备注"  prop="type">
        <el-input
          type="textarea"
          :rows="2"
          placeholder="请输入内容"
          v-model="addForm.brief">
        </el-input>

      </el-form-item>
    </el-col>
  </el-row> 
  </el-form>
  <div slot="footer" class="dialog-footer">
    <include file="Common:_add" />
  </div>
</el-dialog>